package org.exercise.record.domain;
import java.util.Date;
// 账单类，记录每一条账务的明细

public class Bill {
    private Long id;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getCategory() {
        return category;
    }

    public void setCategory(String category) {
        this.category = category;
    }

    public String getTags() {
        return tags;
    }

    public void setTags(String tags) {
        this.tags = tags;
    }

    public Double getAmount() {
        return amount;
    }

    public void setAmount(Double amount) {
        this.amount = amount;
    }

    public Date getDateTime() {
        return dateTime;
    }

    public void setDateTime(Date dateTime) {
        this.dateTime = dateTime;
    }

    private String name;        // 账单名称
    private String category;    // 类别
    private String tags;        // 标签
    private Double amount;      // 金额
    private Date dateTime;      // 记账时间

    // Getter和Setter方法
}
